package com.jueye.springboot01.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description
 * @ClassName IndexController
 * @Author User
 * @date 2021.02.03 08:40
 */
@Controller
public class IndexController {
    @RequestMapping("/")
    public String Index(Model model){
        model.addAttribute("msg","你好");
        return "index";
    }
}
